package com.caszx.chargingpile;

import android.app.Application;
import com.baidu.location.service.LocationService;
import com.baidu.mapapi.SDKInitializer;
import com.socks.library.KLog;
import http.okhttp.OkHttpUtils;

public class EvxApplication extends Application{

    public LocationService locationService;

    @Override
    public void onCreate() {
        super.onCreate();
        locationService = new LocationService(getApplicationContext());
        SDKInitializer.initialize(getApplicationContext());
        debug(false);
    }


    private void debug(boolean isDebug){
//        Picasso.Builder builder = new Picasso.Builder(getApplicationContext());
//        builder.loggingEnabled(isDebug);
        OkHttpUtils.getInstance().debug("com.caszx");
        KLog.init(isDebug);
    }
}
